﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace DataAccessSMS
{
  public class DatabaseHelper
    {
        //public readonly static string ApplicationID = ConfigurationManager.AppSettings["ApplicationID"];
        //public readonly static Guid ApplicationGuid = new Guid(ApplicationID);
        public LinkClassSMSDataContext GetSMSData()
        {
            var db = new LinkClassSMSDataContext(ConfigurationManager.ConnectionStrings["SMSConnectionString"].ConnectionString);
            return db;
        }
    }
    
}
